package com.ruoyi.credit.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 任务和部门关联对象 eva_task_dept
 *
 * @author zhulei
 * @date 2022-03-10
 */
public class EvaTaskDept extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 任务id */
    @Excel(name = "任务id")
    private Long taskId;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    /** 部门id */
    @Excel(name = "部门名称")
    private String deptName;

    /** 权重 */
    @Excel(name = "权重")
    private String weight;

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public void setTaskId(Long taskId)
    {
        this.taskId = taskId;
    }

    public Long getTaskId()
    {
        return taskId;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }
    public void setWeight(String weight)
    {
        this.weight = weight;
    }

    public String getWeight()
    {
        return weight;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("taskId", getTaskId())
            .append("deptId", getDeptId())
            .append("weight", getWeight())
            .toString();
    }
}
